//
//  PhotoUpLoadAgreementViewController.m
//  jingdongfang
//
//  Created by 郝志宇 on 16/9/1.
//  Copyright © 2016年 ZhiYu Hao. All rights reserved.
//

#import "PhotoUpLoadAgreementViewController.h"
#import "UserIdentifyViewController.h"

@interface PhotoUpLoadAgreementViewController ()

@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation PhotoUpLoadAgreementViewController

- (void)viewDidLoad {
    [super viewDidLoad];
//    self.title = @"BOE 画屏销售平台服务协议";
    self.title = NSLocalizedString(@"BOE-iGallery Sales Platform Service Agreement", nil);

    self.webView.backgroundColor = [UIColor mainBackgroundColor];
    NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@%@", [[IGServerConfig sharedConfig] httpApiBaseUrl], @"agreement4.html"]];
    [self.webView loadRequest:[NSURLRequest requestWithURL:url]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)agreeClickBtn:(id)sender
{
    [UIViewController ig_pushViewControllerClass:[UserIdentifyViewController class] animated:YES];
}

@end
